package com.springbootbase.springbootproject.service;

import com.springbootbase.springbootproject.pojo.ListResponse;
import com.springbootbase.springbootproject.pojo.Recommendation;
import org.apache.tika.exception.TikaException;

import java.io.IOException;
import java.util.List;

public interface recommendationService {
    Recommendation getRecommendSet(Long id);

    void updateSet(Recommendation recommendation);

    ListResponse getRecommendList(Long id, int pageSize, int pageNum);


    List<List> getRecommendForStudent(Long id, String userType, double departmentSet, double searchWaySet, double hobbySet) throws TikaException, IOException;

    List<List> getRecommendForTeacher(Long id, String userType, double departmentSet, double searchWaySet, double hobbySet) throws TikaException, IOException;
}
